html,body{
    padding:0;
    margin:0;
    height:100%;
}
/*主页*/
body{
    height:100%;
    background-repeat: no-repeat;
    font-family: "微软雅黑";
    background-size: 100% 100%;
    background-image: url("../image/2.jpg");
    background-attachment: fixed;
    margin: 0;
}
/*导航条内容*/
nav{
    width: 100%;
    height:0.8rem;
    background-size: 100% 100%;
    position: fixed;
    top:0;
    left:0;
    background-image: url("../image/content.png");
    border-bottom: 0.02rem solid gray;
    /*background: -webkit-gradient(linear, 10% 90%, 10% 10%,from(#ABA7A3), to(black));*/
    z-index: 99;
}
.homepage{
    font-size: 0.35rem;
    color: white;
    position: fixed;
    left:1.3rem;
    top:0.23rem;
    float: left;
    z-index: 100;
}
.publish{
    font-size: 0.35rem;
    color: white;
    position: fixed;
    left:2.3rem;
    top:0.23rem;
    z-index: 100;
}
.save{
    font-size: 0.35rem;
    color: white;
    position: fixed;
    left:3.3rem;
    top:0.23rem;
    float: left;
    z-index: 100;
}
.mark{
    font-size: 0.35rem;
    color: white;
    position: fixed;
    left:4.6rem;
    top:0.23rem;
    float: left;
    z-index: 100;
}
.login{
    font-size: 0.33rem;
    position: fixed;
    right:3.5rem;
    top:0.23rem;
    float: right;
    color: white;
    z-index: 100;
}
.register{
    font-size: 0.33rem;
    position: fixed;
    right:2.5rem;
    top:0.23rem;
    float: right;
    color: white;
    z-index:100;
}
/*.uploading{*/
    /*font-size: 0.3rem;*/
    /*color: chocolate;*/
    /*position: fixed;*/
    /*left:5.5rem;*/
    /*top:0.3rem;*/
    /*float: left;*/
    /*z-index: 100;*/
/*}*/
.out{
    color: white;
    font-size:0.35rem;
    position: absolute;
    right: 0.5rem;
    top:0.23rem;
}
/*搜索框*/
.search{
    position: fixed;
    top:0.33rem;
    right:5rem;
    z-index:100;
}
.search input{
    width:1.5rem;
    color: white;
    border-radius: 1rem;
    background-image: url("../image/content.png");
}
.navs {
    width: 45%;
    height:100%;
    margin: 0.5rem auto;
    font-size: 14px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: relative;
}
#top {
    width:1.6rem;
    font-size: 0.35rem;
    text-align: center;
    color: #D84C29;
    background-color: #E8DDBE;
    position: fixed;
    bottom: 0.5rem;
    right:0.3rem;
    display: inline-block;
    z-index: 100;
    border-radius: 0.3rem;
}
/*大标题*/
h1{
    font-size:0.6rem;
    font-weight: normal;
    border-bottom: 0.03rem solid gray;
    color: white;
    margin-top:1rem;
}
a{
    text-decoration: none;
}
nav a:hover{
    color: chocolate;
}

/*整个文章页*/
#article{
    width:100%;
    height:100%;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    border-radius: 0.5rem;
    padding-top: 0.3rem;
    box-sizing: border-box;
}
/*文章内容*/
.article{
    width:90%;
    margin: 0 auto;
    padding-top:0.5rem;
    margin-bottom:0.5rem;
    border-radius: 0.3rem;
    border:0.04rem solid gray;
    background-image: url("../image/content.png");
    background-size: 100% 100%;
    /*background: -webkit-gradient(linear, 130% 0%, 0% 180%,from(#ABA7A3), to(black));*/
    /*opacity: 0.86;*/
}
/*文章用户头像*/
.article .titimg{
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    position: relative;
    left:0.2rem;
    top:-0.4rem;
}
/*文章标题*/
.arctitle a{
    font-size:0.46rem;
    font-family:"微软雅黑";
    font-weight:normal;
    color: white;
    background-size: 100% 100%;
    position: relative;
    left:1.4rem;
    top:-1.4rem;
}
/*文章作者、时间、标签*/
#content{
    color: white;
    position: relative;
    top:-1.3rem;
    margin-left:0.2rem;

}
/*作者*/
.author{
    color: chocolate;
    font-size: 0.22rem;
    font-weight:bold;
}
.author a{
    color: wheat;
}
.author a:hover{
    background-color: chocolate;
    border-radius: 0.07rem;
}
/*发表时间*/
.datas{
    color: chocolate;
    font-size:0.22rem;
    font-weight: bold;
}
.datas a{
    font-size: 0.22rem;
    color: chocolate;
}
.datas img{
    width:0.28rem;
    height: 0.28rem;
    position: relative;
    top:0.05rem;
    font-weight:bold;
}
/*标签*/
.tAg{
    font-size: 0.22rem;
    color: chocolate;
    font-weight: bold;
}

#info .tag{
    color: #615255;
    font-size: 0.22rem;
}
.tagcontent{
    font-size:0.22rem;
    color:wheat;
    font-weight:bold;
}
#content a:nth-child(3):hover{
    background-color: white;
}
/*发表内容*/
.content{
    font-family:"微软雅黑";
    color:white;
    font-size: 0.3rem;
}
/*阅读与评论*/
.reader{
    color: chocolate;
    font-size:0.22rem;
    font-weight:bold;
    position: relative;
    top:0.78rem;
}

.infos span{
    display: inline-block;
    font-size:0.22rem;
    margin-left:0.1rem;
}

/*上传头像设置*/
.userImg img{
    width: 0.7rem;
    height: 0.7rem;
    position: relative;
    top: -0.2rem;
    right: 0.5rem;
    border-radius: 50%;
}
article .userpicUpload .uploadFile {
    display: none;
}
ul,li{
    list-style: none;
}
.userImg{
    position: absolute;
    top:0.3rem;
    right:2rem;
}
.userpicUpload{
    width: 6rem;
    height: 6rem;
    margin: 0 auto;
    background: -webkit-gradient(linear, 130% 0%, 0% 180%,from(#ABA7A3), to(black));
}
.userpicUpload ul{
    margin-left: 1.5rem;
    padding-top:1rem;
}
.userPhoto{
    width:2.2rem;
    height:2.2rem;
}
article .userPhoto img {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
}
article .userpicUpload input {
    border: none;
    background-color: #D2691E;
    display: inline-block;
    width: 70px;
    line-height: 30px;
    margin-right:10px;
    padding:0 5px;
    color: #FFFFFF;
}
/*文章详情页面*/
.details{
    width:90%;
    margin: 0 auto;
    padding:0.01rem 0.2rem;
    border-radius: 0.3rem;
    border:0.02rem solid gray;
    background-image: url("../image/77.png");
    /*background-size: 100% 100%;*/
    opacity: 0.86;
}
/*编辑与删除*/
.details .edit{
    border:0.02rem solid gray;
    border-radius: 0.1rem;
    color: white;
    font-size:0.3rem;
}
.details .edit:hover{
    border-radius: 0.1rem;
    background-color: chocolate;
}
#edit{
    float: right;
}
.editor{
    margin-top:0.5rem;
}
.editor span{
    display: inline-block;
    color: chocolate;
    font-size: 0.23rem;
    font-weight:bold;
}
.editor a{
    color: #DEB887;
}
.details .comment{
    color: chocolate;
    font-size:0.23rem;
    font-weight:bold;
}
/*编辑页面*/
.editpage{
    width:93%;
    margin:0 auto;
    font-size: 0.3rem;
    color: white;
    border:0.03rem solid gray;
    border-radius: 0.2rem;
    padding: 0.5rem 0.3rem;
    background-image: url("../image/content.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
.editpage input{
    color: #615154;
    margin-bottom: 0.5rem;
    margin-left: 0.8rem;
    border-radius: 0.06rem;
    font-size: 0.22rem;
}
.editpage textarea{
    width: 86%;
    color: #615154;
    margin-bottom: 0.5rem;
    margin-left:0.8rem;
    font-size: 0.27rem;
}
.editpage .refer{
    width: 0.8rem;
    color: white;
    float: right;
    margin: 0 0.7rem 1rem 0;
    font-weight: bold;
    background-color: black;
    border:0.03rem solid gray;
}
/*留言*/
.message{
    width:90%;
    margin: 0 auto;
    padding:0.2rem 0.2rem;
    border-radius: 0.3rem;
    border:0.02rem solid gray;
    background-image: url("../image/content.png");
    background-size: 100% 100%;
    opacity: 0.86;
}
.message textarea{
    font-size: 0.23rem;
    color: #615154;
    font-weight: bold;
}
.respond{
    color: lightgray;
    font-size:0.23rem;
    /*font-weight:bold;*/
}
.reply{
    font-size:0.25rem;
    color: wheat;
    /*font-weight:bold;*/
}
.respond span{
    display: inline-block;
}
.reply p{
    color: wheat;
}
.message form{
    font-size:0.28rem;
}
#reply{
    color: white;
    border:0.02rem solid gray;
    border-radius: 0.07rem;
    font-size: 0.25rem;
    background-image: url("../image/content.png");
}
/*未登录情况下的留言*/
#unreply{
    color: white;
    font-size:0.3rem;
}
#unreply .unreply{
    color: chocolate;
}
#unreply input{
    color: chocolate;
    font-size:0.26rem;
}
/*页数*/
#paging{
    width:90%;
    margin:0 auto;
    font-size: 0.28rem;
    line-height:0.7rem;
    text-align: center;
    margin-bottom: 1rem;
    border-radius:0.1rem;
    background-image: url("../image/content.png");
    background-size: 100% 100%;
}
#paging a:hover{
    background-color: #2E5BA5;
    border-radius: 0.06rem;
}
#paging a{
    color: white;
}
.pagecontent a{
    display: inline-block;
    width:0.4rem;
    height:0.33rem;
    line-height:0.33rem;
    color: red;
    border-radius: 0.1rem;
}
/*发布页面*/
#post{
    width:90%;
    margin:0 auto;
    font-size: 0.3rem;
    color: white;
    border:0.02rem solid gray;
    border-radius:0.2rem;
    padding: 0.4rem 0.2rem;
    background-image: url("../image/4.jpg");
    background-size: 100% 100%;
}
#post input{
    width:30%;
    color: white;
    border-radius: 0.06rem;
    background-image: url("../image/2.jpg");
}
#post textarea{
    width: 99%;
    margin: 0 auto;
    color: white;
    border-radius: 0.06rem;
    background-image: url("../image/4.jpg");
    background-size: 100% 100%;
}

/*存储内容页面*/
.archive{
    width:90%;
    margin:0 auto;
    font-size: 0.3rem;
    border:0.02rem solid gray;
    background-image: url("../image/1.jpg");
    background-size: 100% 100%;
    padding:0.1rem 0.3rem 0.3rem 0.3rem;
    border-radius: 0.25rem;
    /*opacity: 0.7;*/
}
.archive .savetime{
    color: white;
    /*font-weight:bold;*/
    /*font-family: Lobster;*/
}
#archive{
    margin-bottom: 0.3rem;
}
.archive .savetitle{
    margin-top:0.1rem;
    margin-bottom: 0.3rem;
    color:#D77C3B;
    /*font-weight: bold;*/
}
.savetitle a{
    color: wheat;
}
/*搜索页面*/
#search{
    margin-bottom: 0.2rem;
}
.archive .searchtime{
    color: #D77C3B;
    font-weight:bold;
    /*font-family: Lobster;*/
}
.archive .searchtitle{
    color:#D77C3B;
    font-weight: bold;
}
.searchtitle a{
    color: #5D5251;
}
/*标签页*/
#tagpage{
    width:90%;
    margin:0 auto;
    border:0.02rem solid gray;
    background-image: url("../image/5.jpg");
    background-size: 100% 100%;
    border-radius: 0.1rem;
    padding:0 0.2rem 1rem 0.2rem;
}
#tagpage a:hover{
    background-color: wheat;
}
.tagpage{
    font-size:0.3rem;
    color: chocolate;
}
/*同一作者的所有文章*/
#allarticle{
    width:95%;
    margin:0 auto;
    border:0.02rem solid gray;
    background-image: url("../image/5.jpg");
    background-size: 100% 100%;
    border-radius: 0.2rem;
    font-size: 0.25rem;
}
#allarticle .allarticle{
    width:84%;
    border:0.03rem solid black;
    margin: 0.2rem auto;
    padding: 0.2rem;
    border-radius: 0.2rem;
}
.allarticle h2 a{
    padding-left:0.1rem;
    color: chocolate;
}
.allarticle p{
    padding-left:0.1rem;
}
.allarticle .author{
    color: #D2691E;
}
.allarc{
    color: gray;
    font-size: 0.22rem;
}
/*相同标签下的所有文章*/
.archive .tagtime{
    color: white;
}
.archive .tagtitle{
    color: white;
    font-size:0.25rem;
    margin:0.1rem;
}
.archive .tagtitle a{
    color: chocolate;
}
.archive .tagtitle a:hover{
    background-color: #BA5D40;
    border-radius: 0.05rem;
}
.alltag{
    margin-bottom: 0.3rem;
}
/*弹窗*/
.popup {
    position: fixed;
    z-index: 100;
    border: solid 0.03rem gray;
    padding: 0.2rem;
    width: 5rem;
    height: 4rem;
    left: calc(50% - 3rem);
    top: calc(50% - 2rem);
    background-image: url("../image/yee.gif");
    background-size: 100% 100%;
}
.popup .pop-close {
    position: absolute;
    right: 0.2rem;
    top: 0.05rem;
    font-size: 0.5rem;
    text-align: right;
    color: #594D4D;
    cursor: pointer;
}
.popup .pop-close span {
    margin-right: 0.1rem;
}
.popup .pop-content {
    padding-top: 0.2rem;
    text-align: center;
    font-size: 0.8rem;
    line-height: 0.3rem;
    color: #594D4D;
}
.mask {
    position: fixed;
    width: 1.5rem;
    height: 1.5rem;
    top: 0px;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    opacity: 0.3;
}
.nofind{
    width:100%;
    font-size:0.6rem;
    /*background-color: white;*/
}
.nofind img{
    width:3rem;
    height: 3rem;
    border-radius: 50%;
    position: relative;
    left:calc(50% - 1.5rem);
}
.nofind div{
    color: white;
    text-align: center;
}

/*回到顶部*/
.top{
    position: fixed;
    bottom:0.5rem;
    right: 0;
    width:1.5rem;
    height:1.5rem;
    background-image: url("../image/totop.png");
    background-size: 100% 100%;
}